<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>测试结果</title>
		<link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
	</head>
	<style>
		.table-responsive {
			max-width: 800px;
			margin: 0 auto;
		}
	</style>
	<body>
		<div class="table-responsive">
			<table class="table table-hover">
				<tr>
					<th>#</th>
					<th>姓名</th>
					<th>测试结果</th>
					<th>分值</th>
					<th>操作</th>
				</tr>
				<#list results as r>
					<tr>
						<td>${r_index+1}</td>
						<td>${r.name}</td>
						<td>${r.resultType}</td>
						<td>${r.highestScore}</td>
						<td>
							<a class="btn btn-primary" href="/results/${r.id}" role="button">详情</a>
							<a class="btn btn-primary" href="/results/delete/${r.id}" role="button">删除</a>
						</td>
					</tr>
				</#list>
			</table>
		</div>
		<div style="height: 50px;"></div>
		<script src="/js/jquery.js"></script>
		<script src="/bootstrap/js/bootstrap.min.js"></script>
	</body>
</html>
